#ifndef __LDRECEIVE_H
#define __LDRECEIVE_H
#include "LDSet.h"
#include "LDControl.h"

extern pSTRU_LD_FIRE_REPORT		pStru_LDFireFirst;
extern pSTRU_LD_FIRE_REPORT		pStru_LDFireLast;
extern pSTRU_LD_FIRE_REPORT		pStru_LDFireRead;
extern pSTRU_LD_FAULT_REPORT	pStru_LDFaultFirst;
extern pSTRU_LD_FAULT_REPORT	pStru_LDFaultLast;
extern pSTRU_LD_FAULT_REPORT	pStru_LDFaultRead;


extern void LDReceiveFireData ( STRU_MSG_CONTENT_EQUIPMENT *pStru_In, pSTRU_LD_FIRE_REPORT pStru_New );
extern void LDFireListAdd(STRU_MSG_CONTENT_EQUIPMENT *pStru_In);
extern void	LDFireListDelete(pSTRU_LD_FIRE_REPORT pStru_Dell);
extern void LDFireListDeleteAll( void );
//20120104 extern pSTRU_LD_FIRE_REPORT *LDFireListFind(pSTRU_LD_FIRE_REPORT pStru_ToFind);
extern pSTRU_LD_FIRE_REPORT LDFireListFind(pSTRU_LD_FIRE_REPORT pStru_ToFind);
extern void LDReceiveFire ( STRU_MSG88 *pStru_Msg88 );
extern void LDReceiveEquipFaultData ( STRU_MSG_CONTENT_EQUIPMENT *pStru_In, pSTRU_LD_FAULT_REPORT pStru_New );
extern void LDReceiveIOBFaultData ( STRU_MSG_CONTENT_IOBCOMM_FAULT *pStru_In, pSTRU_LD_FAULT_REPORT pStru_New );
extern void LDFaultListAddEquipFault(STRU_MSG_CONTENT_EQUIPMENT *pStru_In);
extern void LDFaultListAddIOBFault(STRU_MSG_CONTENT_IOBCOMM_FAULT *pStru_In);
extern void LDFaultListDelete(pSTRU_LD_FAULT_REPORT pStru_Dell);
extern void LDFaultListDeleteAll( void );
//20120104 extern pSTRU_LD_FAULT_REPORT *LDFaultListFind(pSTRU_LD_FAULT_REPORT pStru_ToFind);
extern pSTRU_LD_FAULT_REPORT LDFaultListFind(pSTRU_LD_FAULT_REPORT pStru_ToFind);
extern void LDReceiveFault(STRU_MSG88 * pStru_Msg88);


#endif
